package com.syan.learn.optimization.ch02.decorator;

public class DecoratorTest {

	public static void main(String[] args) {
		IPacketCreator packetCreator = new PacketHTTPHeaderCreator(
				new PacketHTMLHeaderCreator(new PacketBocyCreator()));
		System.out.println(packetCreator.handleContent());
	}

}
